/**
 * Created by Nick Parfene. Please write to nick@tmro.net if you accidentally got this file 
 */
package net.tmro.ratapato.model.retailer;

import java.util.HashSet;

import net.tmro.ratapato.model.loyalty.LoyaltyScheme;

/**
 * The store chain can be represent just a store in the event when there is no
 * chain. This is done this way to simplify loyalty handling.
 * 
 * @author nick
 * 
 */
public class StoreChain {

	private String name;

	private HashSet<Store> stores = new HashSet<Store>();

	private HashSet<LoyaltyScheme> loyaltySchemes = new HashSet<LoyaltyScheme>();
	
	/**
	 * Default constructor
	 */
	public StoreChain() {

	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the stores
	 */
	public HashSet<Store> getStores() {
		return stores;
	}

	/**
	 * @param stores
	 *            the stores to set
	 */
	public void setStores(HashSet<Store> stores) {
		this.stores = stores;
	}

	/**
	 * @return the loyaltySchemes
	 */
	public HashSet<LoyaltyScheme> getLoyaltySchemes() {
		return loyaltySchemes;
	}

	/**
	 * @param loyaltySchemes the loyaltySchemes to set
	 */
	public void setLoyaltySchemes(HashSet<LoyaltyScheme> loyaltySchemes) {
		this.loyaltySchemes = loyaltySchemes;
	}
}
